package cn.edu.nchu.deviceSimulation;

import org.eclipse.paho.client.mqttv3.MqttException;

public class TestDevice {
    public static void main(String[] args){
        int deviceNum = 1;
        String product_id = "test_product";
        for (int i = 0; i < deviceNum; i ++) {
            Thread thread = new Thread(
                    new Device(product_id, product_id + "_device_" + i, "default_passwprd"));
            thread.start();
        }
    }
}
